package nowcoder.io;

import java.util.Scanner;

/**
 * @author mazouri
 * @create 2023-03-02 23:50
 */
public class _1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        //hasNextLine() 方法会根据行匹配模式去
        // 判断接下来是否有一行(包括空行),如果有,则返回true,否则返回false
        while (in.hasNextLine()) {
            int a = in.nextInt();
            int b = in.nextInt();
            System.out.println(a + b);
        }
    }
}
